import 'package:school_assistant/generated/json/base/json_field.dart';
import 'package:school_assistant/generated/json/order_extra_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class OrderExtraEntity {
	String? time;
	String? price;
	String? code;

	OrderExtraEntity();

	factory OrderExtraEntity.fromJson(Map<String, dynamic> json) => $OrderExtraEntityFromJson(json);

	Map<String, dynamic> toJson() => $OrderExtraEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}